import request from '@/utils/request'

// 查询歌曲列表
export const getSongList = params => request.get('/manage/song-list', { params })
// 新增歌曲
export const addSong = params => request.post('/manage/add-song', params)
// 编辑歌曲
export const editSong = params => request.post(`/manage/edit-song/${params._id}`, params)
// 删除歌曲
export const deleteSong = songNo => request.delete(`/manage/song/${songNo}`)
